<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script src="/js/jquery-2.1.1.min.js"></script>
    <script src="/js/jquery-form.js"></script>

    <link rel="stylesheet" href="/js/easyui1.5/themes/icon.css">
    <link rel="stylesheet" href="/js/easyui1.5/themes/default/easyui.css">
    <script src="/js/easyui1.5/jquery.easyui.min.js"></script>


    <script type="text/javascript" th:inline="none">


        $(function () {
            queryJiFenChongZhi();
        })

        function queryJiFenChongZhi(){
            $("#dg").datagrid({
                url:'/chongzhi/queryJiFenChongZhi',
                striped:true,
                pagination:true,
                //  toolbar:"#gongneng",
                pageList:[1,2,3,4,5,7,10,50],
                pageSize:5,
                checkOnSelect:false,
                columns:[[
                    {field:'id',title:'xx',width:100,checkbox:true},
                    {field:'id',title:'id',width:100},
                    {field:'username',title:'用户名',width:100},
                    {field:'zhifubaodingdanhao',title:'支付宝订单号',width:100},
                    {field:'dingdan',title:'订单号',width:100},
                    {field:'username',title:'用户名',width:100},
                    {field:'miaoshu',title:'描述',width:100},
                    {field:'chongzhitime',title:'订单生成时间',width:100,
                        formatter:function(value,row,index){
                            var date=new Date(value+2880000)
                            var aa= date.toLocaleDateString(date)
                            return aa;
                        }},
                ]]

            })
        }
    </script>
</head>
<body>
<table id="dg"  fit="true"></table>
</body>
</html>
